<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8" />

        <!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame
        Remove this if you use the .htaccess -->
        <!--[if IE]><meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'><![endif]-->

        <title>NK's Guestbook: edit text</title>
        <meta name="description" content="" />
        <meta name="author" content="Nikolay Konovalov" />

        <meta name="viewport" content="width=device-width; initial-scale=1.0" />
        <link rel="stylesheet" href="./views/msgswrapper.css" type="text/css"/>
        <link rel="stylesheet" href="./views/submit_table.css" type="text/css"/>

    </head>

    <body>
        <div>
            <header>
                <h1>Guestbook</h1>
            </header>
            <nav>
                <p>
                    <a href="javascript:history.back()">Main Page</a>
                </p>
                <p>
                    <a href="mailto:konovalov.nk@gmail.com">Contact</a>
                </p>
            </nav>

            <table class="tablesubmit" id="addmsgformtitle">
                <tr>
                    <th>Add message</th>
                </tr>
            </table>
            <form id="addmsgform" name="addmsgform" method="post" action="edittext.php">
                <table class="tablesubmit">
                    <tr>
                        <th>Name</th>
                        <td>
                            <? echo $inputname; ?>
                        </td>
                    </tr>
                    <tr>

                        <th>Comment</th>
                        <td>
                            <? echo $inputtext; ?>
                        </td>
                    </tr>
                    <tr>
                        <th></th>
                        <td>
                            <? echo $submittype; ?>
                            <input type="reset" name="reset_btn" value="Reset" />
                            <? echo $hiddeninput; ?>
                        </td>
                    </tr>
                </table>
            </form>

            <footer>
                <p align="right">
                    &copy; Copyright 2013 by Nikolay Konovalov
                </p>
            </footer>
        </div>
    </body>
</html>
